runtime.mspan.npages (field)
33 uses
runtime (current package)
arena.go#L692: asanpoison(unsafe.Pointer(span.limit), span.npages*pageSize-span.elemsize)
arena.go#L761: if s.npages*pageSize != userArenaChunkBytes {
arena.go#L782: sysFault(unsafe.Pointer(s.base()), s.npages*pageSize)
arena.go#L787: gcController.heapInUse.add(-int64(s.npages * pageSize))
arena.go#L793: gcController.totalFree.Add(int64(s.npages * pageSize))
arena.go#L800: atomic.Xaddint64(&stats.committed, -int64(s.npages*pageSize))
arena.go#L801: atomic.Xaddint64(&stats.inHeap, -int64(s.npages*pageSize))
arena.go#L803: atomic.Xadd64(&stats.largeFree, int64(s.npages*pageSize))
arena.go#L807: gcController.update(-int64(s.npages*pageSize), 0)
arena.go#L842: if s.npages*pageSize != userArenaChunkBytes {
heapdump.go#L486: n := (s.npages << _PageShift) / size
mbitmap.go#L732: size := s.npages * pageSize
mbitmap.go#L742: size := s.npages * pageSize
mcache.go#L212: gcController.update(int64(s.npages*pageSize)-int64(usedBytes), int64(c.scanAlloc))
mcache.go#L249: gcController.update(int64(s.npages*pageSize), 0)
mgcsweep.go#L392: npages = s.npages
mgcsweep.go#L524: traceGCSweepSpan(s.npages * _PageSize)
mgcsweep.go#L527: mheap_.pagesSwept.Add(int64(s.npages))
mgcsweep.go#L717: mheap_.pagesInUse.Add(-s.npages)
mheap.go#L417: npages uintptr // number of pages in span
mheap.go#L511: total = s.npages << _PageShift
mheap.go#L903: npages := s.npages
mheap.go#L1392: s.limit = s.base() + s.npages*pageSize
mheap.go#L1551: pageTraceFree(getg().m.p.ptr(), 0, s.base(), s.npages)
mheap.go#L1557: bytes := s.npages << _PageShift
mheap.go#L1563: bytes := s.npages << _PageShift
mheap.go#L1583: pageTraceFree(getg().m.p.ptr(), 0, s.base(), s.npages)
mheap.go#L1607: h.pagesInUse.Add(-s.npages)
mheap.go#L1619: nbytes := s.npages * pageSize
mheap.go#L1639: h.pages.free(s.base(), s.npages)
mheap.go#L1683: span.npages = npages
mheap.go#L1711: print("runtime: failed mSpanList.remove span.npages=", span.npages,
stack.go#L505: log2npage := stacklog2(s.npages)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |